<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
    <div class="sysItemAddEle">
        <div class="clearfix m-t">
            <div th:if="!${#lists.isEmpty(functionList)}" th:each="function : ${functionList}" class="system-item-box system-item-warp">
                <div class="sys-item-ele">
                    <div class="ibox-title">
                        <span class="ibox-icon text-center pull-left m-r-sm">
                            <i th:classappend="${#strings.isEmpty(function['iconClass'])}?'fa-info':${function['iconClass']}" class="fa fs24 c-fff"></i>
                        </span>
                        <h5>
                            <span class="fs18 c-333" th:text="${function['functionName']}"></span>
                            <p class="m-t-xs" data-toggle="tooltip" data-placement="top" th:attr="data-original-title=${function['depict']}">
                                <span class="fs12 c-999" th:if="${#strings.isEmpty(function['depict'])}">无权限说明</span>
                                <span class="fs12 c-999"th:if="!${#strings.isEmpty(function['depict'])} and ${#strings.length(function['depict'])}>12" th:text="${#strings.substring(function['depict'],0,12)}+'...'"></span>
                                <span class="fs12 c-999"th:if="!${#strings.isEmpty(function['depict'])} and ${#strings.length(function['depict'])}<=12" th:text="${function['depict']}"></span>
                            </p>
                        </h5>
                        <div class="ibox-tools">
                            <label class="hand">
                                <input name="functionId" th:value="${function['id']}" type="checkbox" th:each="sysUserWorkBench : ${function['sysUserWorkBench']}" th:checked="${sysUserWorkBench['status']}==1 ? 'checked':false"/>
                            </label>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</html>